package com.inplaceedit.client.activity.menu;

import java.util.ArrayList;
import java.util.List;

import com.inplaceedit.client.place.ContactDetailsPlace;
import com.inplaceedit.client.place.ContactNewPlace;
import com.inplaceedit.client.place.HomePlace;
import com.inplaceedit.client.support.ApplicationPlace;

public class MenuPlaceList {
	private static List<ApplicationPlace> INSTANCE;

	public static List<ApplicationPlace> get() {
		if (INSTANCE == null) {
			INSTANCE = new ArrayList<ApplicationPlace>();

			INSTANCE.add(new HomePlace());
			INSTANCE.add(new ContactNewPlace());
			{
				final ContactDetailsPlace place = new ContactDetailsPlace();
				place.setId("test");
				INSTANCE.add(place);
			}

		}
		return INSTANCE;
	}
}
